{extend name='user/public/layout' /}
{block name='content'}
<div class="ylj-box">
    <ul class="am-avg-sm-4 ylj-user-yuyue ylj-border-b">
        <li><a href="{:url('user.message/house')}">新房留言</a></li>
        <li class="on"><a href="{:url('user.message/group')}">团购报名</a></li>
        <li><a href="{:url('user.message/used')}">二手房留言</a></li>
        <li><a href="{:url('user.message/rental')}">出租房留言</a></li>
    </ul>
    {volist name="lists" id='vo' empty='暂无数据'}
    <div class="am-cf ylj-padding-t-b ylj-border-b">
        <div class="am-u-sm-8">
            <a href="{:url($model[$vo['model']].'/detail',['id'=>$vo['house_id']])}"><h3>{$vo.house_title}</h3></a>
            <p>{$vo.create_time|date='Y-m-d H:i:s',###}</p>
            <p>{:baomingType($vo['type'])}</p>
        </div>
        <div class="am-u-sm-4 am-text-right">
            <a href="{:url('user.message/detail',['id'=>$vo['id']])}">查看详细</a>
        </div>
    </div>
    {/volist}
</div>
<div class="ylj-box ylj-padding-b">
    <div class="plastic_bottom_pages">
        {$pages}
    </div>
</div>
{/block}